package com.cn.lf.wx.dacs.bussiness.author.utils;


import java.util.Map;

import com.cn.lf.wx.dacs.bussiness.author.bean.SimpleUser;

public class UserUtil {

    public static String genUserToken(SimpleUser authUser, long time) {
        Map<String, Object> claims = ClaimsUtils.user2Claims(authUser);
        return JwtUtils.createToken(claims, time);
    }

}
